﻿namespace FFF.Test.Application.Repositories.FW
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW;
    using FFF.Test.Entity.FW.View;

    /// <summary>
    /// 1.001 获取模块(于大明)输入dto
    /// </summary>
    public class GetMyModuleInDto
    {
        /// <summary>
        /// 系统GUID
        /// </summary>
        public Guid ApplicationGUID { get; set; }
    }

    /// <summary>
    /// 1.001 获取模块(于大明)输出dto
    /// </summary>
    public class GetMyModuleOutDto
    {
        /// <summary>
        /// 输出模块集合
        /// </summary>
        public List<GetMyModuleDto> Dtos { get; set; }
    }

    /// <summary>
    /// 1.001 获取模块(于大明)输出dto
    /// </summary>
    [AutoMapFrom(typeof(ViewFWApplication2Module))]
    public class GetMyModuleDto
    {
        /// <summary>
        /// 模块GUID
        /// </summary>
		[Display(Name = "模块GUID", Description = "模块GUID")]
        [Column("ModuleGUID")]
        public Guid? ModuleGUID { get; set; }

        /// <summary>
        /// 模块名称
        /// </summary>
		[Display(Name = "模块名称", Description = "模块名称")]
        [Column("ModuleName")]
        [StringLength(256)]
        public string ModuleName { get; set; }

        /// <summary>
        /// 模块排序编码
        /// </summary>
        [Display(Name = "模块排序编码", Description = "模块排序编码")]
        [Column("ModuleCode")]
        [StringLength(256)]
        public string ModuleCode { get; set; }

        /// <summary>
        /// 模块程序图标
        /// </summary>
        [Display(Name = "模块程序图标", Description = "模块程序图标")]
        [Column("ModuleIconCls")]
        [StringLength(256)]
        public string ModuleIconCls { get; set; }

        /// <summary>
        /// 模块URl
        /// </summary>
		[Display(Name = "模块URl", Description = "模块URl")]
        [Column("ModuleUrl")]
        [StringLength(2048)]
        public string ModuleUrl { get; set; }

        /// <summary>
        /// 模块帮助URL地址
        /// </summary>
        [Display(Name = "模块帮助URL地址", Description = "模块帮助URL地址")]
        [Column("ModuleHelpUrl")]
        [StringLength(512)]
        public string ModuleHelpUrl { get; set; }
    }

}
